@import "./variables.scss";
@import "./theme.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./btn.scss";
@import "./common.scss";

$size14: 14px;
$size16: 16px;
$size18: 18px;
$c666: #666;
$c999: #999;
html {
  font-size: 0.625em;
}
::selection {
  background: #409eff;
  color: #fff;
}
body {
  font-size: 1.3em;
  color: rgb(103, 106, 108);
}

body {
  width: 100%;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}
ul,
li {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

label {
  font-weight: 700;
}

html {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

input {
  color: #000 !important;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

[tab-btn] {
  padding: 10px 15px;
}
[tab-bg="green"] {
  background: #009688 !important;
  border: #009688 !important;
  &:hover {
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80);
  }
}

[tab-bg="gray"] {
  background: #ddd !important;
  border: #ddd !important;
}

[fo-size="16"] {
  font-size: $size16;
  color: $c333;
}
[t-size="16"] {
  font-size: $size16;
  color: $c999;
}
[fo-size="18"] {
  font-size: $size18;
  color: $c666;
}
[t-size="18"] {
  font-size: $size18;
  color: $c333;
  font-family: "黑体";
}
[fo-size="14"] {
  font-size: $size14;
  color: $c999;
}

.ellipsis div {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module {
  /*查询左长度*/
  margin-left: 66px;
  line-height: 36px;
  margin-bottom: 10px;
}
.module-ri {
  /*查询左长度*/
  margin-right: 66px;
  line-height: 36px;
  margin-bottom: 10px;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right !important;
}

.fl {
  float: left !important;
}

.ohide {
  overflow: hidden !important;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}
.m-15{
  margin: 15px;
}
.mr-15{
  margin-right: 15px;
}
.mt-15{
  margin-top: 15px;
}
.mb10 {
  margin-bottom: 10px;
}
.mt10 {
  margin-top: 10px;
}
.ml10 {
  margin-left: 10px;
}
.mr10 {
  margin-right: 10px;
}
.mb5 {
  margin-bottom: 5px;
}
.mt5 {
  margin-top: 5px;
}
.ml5 {
  margin-left: 5px;
}
.mr5 {
  margin-right: 5px;
}

.pointer {
  cursor: pointer;
}
.label {
  color: #515a6e;
  font-weight: 700;
}
.inlineBlock {
  display: inline-block;
}

.clearfix {
  zoom: 1;
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

code {
  background: #eef1f6;
  padding: 15px 16px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  font-size: 15px;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  a {
    color: #337ab7;
    cursor: pointer;
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content {
  background: rgba(66, 185, 131, 0.1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: 0.05rem;
  a {
    color: #42b983;
    font-weight: 600;
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(
    90deg,
    rgba(32, 182, 249, 1) 0%,
    rgba(32, 182, 249, 1) 0%,
    rgba(33, 120, 241, 1) 100%,
    rgba(33, 120, 241, 1) 100%
  );
  .subtitle {
    font-size: 20px;
    color: #fff;
  }
  &.draft {
    background: #d0d0d0;
  }
  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.component {
  margin: 0 15px 15px;
  padding: 15px;
  background: #fff;
}
div img {
  display: inline-block;
  margin: 0;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}
::-webkit-scrollbar-thumb {
  border-radius: 16px;
  background-color: rgba(215, 215, 215, 0.6);
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(195, 195, 195, 0.6);
}
::-webkit-scrollbar-thumb:active {
  background-color: rgba(175, 175, 175, 0.6);
}
::-webkit-scrollbar-button {
  background: transparent;
  height: 0;
}


/*优化提交按钮*/

.button-btn-wrap{
  text-align: center;
  margin:10px 0;
  .el-button--mini {
    padding: 10px 60px;
    font-size: 14px;
  }
}